package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.domian.Category;
import com.itheima.reggie.domian.Setmeal;
import com.itheima.reggie.domian.SetmealDish;
import com.itheima.reggie.dto.SetmealDto;

import java.util.List;

/**
 * @author 何须浅碧深红色
 * @date 2022/9/11
 */
public interface SetmealService extends IService<Setmeal> {
    public void saveWithDish(SetmealDto setmealDto);
    public R<Page>  selectAll(int page,int pageSize,String name);
    public void removeWithDish(List<Long> ids);
    public SetmealDto getSetmealWithDish(Long id);
    public void updateWithDish(SetmealDto SetmealDto);
}
